package com.cx.interact.client.admin.service.Impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cx.interact.client.admin.dao.ConsumerDAO;
import com.cx.interact.client.admin.dto.consumer.ConsumerDTO;
import com.cx.interact.client.admin.service.ConsumerService;

@Service
public class ConsumerServiceImpl implements ConsumerService{

	@Resource
	private ConsumerDAO consumerDAO;
	/**
	 * 查询客户
	 * */
	public ConsumerDTO queryConsumerByphoneAndPwd(String phone,String password){
		return consumerDAO.queryConsumerByphoneAndPwd(phone, password);
	}
}
